package com.example.choupaiapp.main.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2019/11/21.
 */

public class UserInterestBean implements Serializable {

    /**
     * msg : success
     * code : 0
     * list : [{"id":2,"parentId":1,"name":"篮球","createTime":"2019-11-20T08:31:38.000 0000","list":null},{"id":3,"parentId":1,"name":"足球","createTime":"2019-11-20T08:31:38.000 0000","list":null},{"id":4,"parentId":1,"name":"乒乓球","createTime":"2019-11-20T08:31:38.000 0000","list":null},{"id":5,"parentId":1,"name":"游泳","createTime":"2019-11-20T08:31:38.000 0000","list":null}]
     */

    private String msg;
    private int code;
    private List<ListBean> list;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean implements Serializable{
        /**
         * id : 2
         * parentId : 1
         * name : 篮球
         * createTime : 2019-11-20T08:31:38.000 0000
         * list : null
         */

        private int id;
        private int parentId;
        private String name;
        private String createTime;
        private Object list;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getList() {
            return list;
        }

        public void setList(Object list) {
            this.list = list;
        }
    }
}
